* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 414px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    position: relative;
    padding-bottom: 65px;
}

/* 搜索栏样式 */
.search-bar {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    margin: 10px;
    padding: 8px 15px;
    border-radius: 20px;
}

.search-bar input {
    flex: 1;
    border: none;
    background: none;
    margin: 0 10px;
    font-size: 14px;
}

.search-bar i {
    color: #999;
}

/* 主横幅样式 */
.banner-container {
    position: relative;
    margin: 15px;
    overflow: hidden;
    border-radius: 12px;
}

.banner-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.banner {
    min-width: 100%;
    background: linear-gradient(135deg, #FFB74D, #FF9800);
    padding: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-content {
    flex: 1;
    padding-right: 15px;
}

.banner-content h2 {
    font-size: 18px;
    margin-bottom: 5px;
}

.banner-content p {
    font-size: 14px;
    opacity: 0.9;
}

.banner-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: white;
}

.banner-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.banner-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.banner-btn.prev {
    left: 10px;
}

.banner-btn.next {
    right: 10px;
}

/* 快捷功能区样式 */
.quick-access {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 15px;
    gap: 15px;
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.quick-item i {
    font-size: 24px;
    color: #FF9800;
}

.quick-item span {
    font-size: 12px;
}

/* 服务区域样式 */
.service-section {
    padding: 15px;
}

.service-section h3 {
    margin-bottom: 15px;
    font-size: 16px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.service-item i {
    font-size: 20px;
    color: #2196F3;
}

.service-item span {
    font-size: 12px;
}

/* 健康体检区域样式 */
.checkup-section {
    padding: 15px;
}

.banner-small {
    background: linear-gradient(135deg, #81D4FA, #29B6F6);
    padding: 15px;
    border-radius: 12px;
    color: white;
}

.banner-small h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.banner-small p {
    font-size: 12px;
    opacity: 0.9;
}

/* 底部导航样式 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 5px 0;
    border-top: 1px solid #eee;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 0;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

.nav-item.active {
    color: #1890ff;
}

/* 发热门诊大厅样式 */
.fever-section {
    padding: 15px;
}

.fever-section h3 {
    margin-bottom: 15px;
    font-size: 16px;
}

.fever-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.fever-item {
    background: linear-gradient(135deg, #FF9A9E, #FF6B6B);
    padding: 15px;
    border-radius: 12px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fever-item i {
    font-size: 24px;
    margin-bottom: 8px;
}

.fever-item span {
    font-size: 14px;
    margin-bottom: 4px;
}

.fever-item small {
    font-size: 12px;
    opacity: 0.9;
}

/* 健康生活建议样式 */
.health-tips-section {
    padding: 15px;
}

.health-tips-section h3 {
    margin-bottom: 15px;
    font-size: 16px;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.article-content {
    flex: 1;
}

.article-content h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
}

.article-content p {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.article-meta {
    display: flex;
    gap: 15px;
}

.article-meta span {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background-color: #f0f0f0;
}

.placeholder-img {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
} 